github.com/jackc/pgx/v5/internal/sanitize.sqlLexer.src (field)
34 uses
github.com/jackc/pgx/v5/internal/sanitize (current package)
sanitize.go#L137: l.src = sql
sanitize.go#L206: src string
sanitize.go#L219: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L224: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L234: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L237: l.parts = append(l.parts, l.src[l.start:l.pos-width])
sanitize.go#L246: if tagLen, ok := scanDollarQuoteTag(l.src[l.pos:]); ok {
sanitize.go#L247: l.dollarTag = l.src[l.pos : l.pos+tagLen]
sanitize.go#L252: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L258: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L266: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L277: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L282: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L290: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L301: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L306: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L314: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L329: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L357: idx := strings.Index(l.src[l.pos:], closer)
sanitize.go#L361: if len(l.src)-l.start > 0 {
sanitize.go#L362: l.parts = append(l.parts, l.src[l.start:])
sanitize.go#L363: l.start = len(l.src)
sanitize.go#L365: l.pos = len(l.src)
sanitize.go#L416: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L421: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L424: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L432: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L443: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L448: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L455: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L466: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L471: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L477: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L491: l.parts = append(l.parts, l.src[l.start:l.pos])